<%--
  Created by IntelliJ IDEA.
  User: dzh
  Date: 2021/5/30
  Time: 18:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
  pageContext.setAttribute("k1","p 1");
  request.setAttribute("k1","r 1");
  session.setAttribute("k1","s 1");
  application.setAttribute("k1","a 1");
%>
<h1>直接获取，得到最小范围下的k1匹配项</h1>
${k1}<br/>
<h1>特定获取</h1>
pageScope：${pageScope.k1}<br/>
requestScope：${requestScope.k1}<br/>
sessionScope：${sessionScope.k1}<br/>
applicationScope：${applicationScope.k1}<br/>
</body>
</html>
